package com.czy.common.enums;

import lombok.Getter;

/**
 * 流程状态枚举类
 * @author czy
 * @date 2021-4-1
 */
@Getter
public enum FlowStatusEnum {
    /**草稿*/
    DRAFT(0,"草稿"),
    /**进行中*/
    IN_PROGRESS(2,"进行中"),
    /**结束*/
    FINISH(4,"结束"),
    /**取消*/
    CANCEL(5,"取消"),
    /**驳回*/
    REJECT(11,"驳回");

    private final int state;

    private final String desc;

    FlowStatusEnum(int state,String desc){
        this.state=state;
        this.desc=desc;
    }
}
